package com.zretc.kscxmz.entity;

/**
 * @author zengyanjun
 * @date 2020-07-21
 *  邮件接收者实体类
 */
public class MailReceive {
    private Integer id;//编号  没有实际作用，只是主键作用
    private Integer isRead;//邮件是否已读
    private Integer mailId;//邮件详情id
    private Integer mailReceiverId;//邮件接收者id
    private Integer isDel;//是否已经删除; 1：已删  0：未删

    public MailReceive() {
    }

    public MailReceive(Integer id, Integer isRead, Integer mailId, Integer mailReceiverId, Integer isDel) {
        this.id = id;
        this.isRead = isRead;
        this.mailId = mailId;
        this.mailReceiverId = mailReceiverId;
        this.isDel = isDel;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

    public Integer getMailId() {
        return mailId;
    }

    public void setMailId(Integer mailId) {
        this.mailId = mailId;
    }

    public Integer getMailReceiverId() {
        return mailReceiverId;
    }

    public void setMailReceiverId(Integer mailReceiverId) {
        this.mailReceiverId = mailReceiverId;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    @Override
    public String toString() {
        return "MailReceive{" +
                "id=" + id +
                ", isRead=" + isRead +
                ", mailId=" + mailId +
                ", mailReceiverId=" + mailReceiverId +
                ", isDel=" + isDel +
                '}';
    }
}
